package com.blulioncn.matrix.monitoring.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;

@Controller
@RequestMapping("/monitoring")
public class IndexController {

    @RequestMapping(value = "/index")
    public ModelAndView index(HttpServletRequest request, ModelAndView mv

    ) {
        try {
            mv.setViewName("/Index/index");
        } catch (Exception e) {
            e.printStackTrace();
        }
        return mv;
    }
}
